<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@include file="/view/inc/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<security:csrfMetaTags/>
<script type="text/javascript" src='${basepath}view/sys/organ/sysorgantypelist.js'></script>
<script type="text/javascript">
$(function() {
	init();
});
</script> 
</head>
<body>
<div class="easyui-layout"
     data-options='fit:true,border:false'>
<div class="search" style="height: 50px"
     data-options="
		region:'north'">
    <table class='noborder'>
        <tr>
            <th><label>类型编号:</label></th>
            <td><input  class="easyui-textbox" data-options="prompt:'输入类型编号'"name="q_code"  id="q_code" ></input></td>
            <th><label>类型名称:</label></th>
            <td><input  class="easyui-textbox" data-options="prompt:'输入类型名称'"name="q_name"  id="q_name" ></input></td>
            <th><label>序号:</label></th>
            <td><input  class="easyui-textbox" data-options="prompt:'输入序号'"name="q_seq"  id="q_seq" ></input></td>
            <td><a href="javascript:loadSysOrganType()"class="easyui-linkbutton" plain="true" iconCls="icon-search">查询</a></td>
        </tr>
    </table>
</div>
<div data-options="
		region:'center'">
<table id="listsysorgantypedg" class="easyui-datagrid" style="width: 100%"
	data-options="
			toolbar: '#tb',
			onDblClickRow:function(rowIndex, rowData){
								//beginEdit('listsysorgantypedg',rowIndex);
						  }
		">
	<thead>
		<tr>
			<th data-options="field: 'checked', checkbox:true"></th>
				<th data-options="field:'code',width:180,
				editor:{
						type:'textbox',
						options:{
							required:true
						}}">类型编号</th>
				<th data-options="field:'name',width:180,
				editor:{
						type:'textbox',
						options:{
							required:true
						}}">类型名称</th>
				<th data-options="field:'seq',width:180,
				editor:{
						type:'textbox',
						options:{
							required:true
						}}">序号</th>
				<th data-options="field:'icon',width:180,
				editor:{
						type:'textbox',
						options:{
							required:true
						}}">图标</th>
				<th data-options="field:'note',width:180,
				editor:{
						type:'textbox',
						options:{
							required:true
						}}">备注</th>
		</tr>
	</thead>
</table>
</div>
</div>
<div id="tb" style="height: auto">
	<a href="javascript:void(0)" class="easyui-linkbutton"
		data-options="iconCls:'icon-add',plain:true" onclick="addSysOrganType()">增加</a>
	<a href="javascript:void(0)" class="easyui-linkbutton"
		data-options="iconCls:'icon-edit',plain:true" onclick="editSysOrganType()">修改</a>
	<a href="javascript:void(0)" class="easyui-linkbutton"
		data-options="iconCls:'icon-20130408025545236_easyicon_net_30',plain:true" onclick="delSysOrganType()">删除</a>
</div>
</body>
</html>